﻿using System.Collections;
using System.Collections.Specialized;

namespace UDS.Configuration
{
    internal class ReadOnlyNameValueCollection : NameValueCollection
    {
        internal ReadOnlyNameValueCollection(IEqualityComparer equalityComparer)
            : base(equalityComparer)
        {
        }

        internal ReadOnlyNameValueCollection(ReadOnlyNameValueCollection value)
            : base(value)
        {
        }

        internal void SetReadOnly()
        {
            IsReadOnly = true;
        }
    }
}